{% comment %} from http://hotoss.googlecode.com/ {% endcomment  %}
<p class="paging">
{% if has_previous %}<a href="{{ page_url }}?page=0">First</a>
{% else %}<span class="disable">First</span>{% endif %}
<span> / </span>
{% if has_previous %}<a href="{{ page_url }}?page={{ previous }}">Previous</a>
{% else %}<span class="disable">Previous</span>{% endif %}
<span> / </span>
{% if has_next %}<a href="{{ page_url }}?page={{ next }}">Next</a>
{% else %}<span class="disable">Next</span>{% endif %}
<span> / </span>
{% if has_next %}<a href="{{ page_url }}?page={{ lastpage }}">Last</a>
{% else %}<span class="disable">Last</span>{% endif %}
<span> / </span>Page {{ currentpage }} of {{ totalpages }}</p>
{% comment %} endfrom http://hotoss.googlecode.com/ {% endcomment  %}